﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XuanXiang.Infrastructure.Dto.Response.Merchant
{
    public class MerchantOrders_Dto
    {
        /// <summary>
        /// 订单id
        /// </summary>
        public string? id { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int? number { get; set; }

        /// <summary>
        /// 供应商id
        /// </summary>
        public string? sid { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string? supplier { get; set; }

        /// <summary>
        /// 商户id
        /// </summary>
        public string? mid { get; set; }

        /// <summary>
        /// 商户
        /// </summary>
        public string? merchant { get; set; }

        /// <summary>
        /// 总价
        /// </summary>
        public double? money { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public string? time { get; set; }

        /// <summary>
        /// 是否接单
        /// </summary>
        public int? isAccept { get; set; }

        /// <summary>
        /// 是否取消
        /// </summary>
        public int? isCancel { get; set; }

        /// <summary>
        /// 是否完成
        /// </summary>
        public int? isComplete { get; set; }

        /// <summary>
        /// 是否收货
        /// </summary>
        public int? isReceive { get; set; }

        /// <summary>
        /// 收货时间
        /// </summary>
        public string? receiveTime { get; set; }

        /// <summary>
        /// 是否发货
        /// </summary>
        public int? isSend { get; set; }

        /// <summary>
        /// 取消时间
        /// </summary>
        public string? cancelTime { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public string? completeTime { get; set; }

        /// <summary>
        /// 商品名
        /// </summary>
        public string? goodsName { get; set; }

        /// <summary>
        /// 发货时间
        /// </summary>
        public string? sendTime { get; set; }

        public List<Merchant_OrderDetails_Dto>? goods { get; set; }
    }

    /// <summary>
    /// 商户订单商品详情类
    /// </summary>
    public class Merchant_OrderDetails_Dto {
        /// <summary>
        /// 订单详情id
        /// </summary>
        public string? id { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        public string? gid { get; set; }

        /// <summary>
        /// 商品名
        /// </summary>

        public string? name { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int? number { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public string? brithday { get; set; }

        public DateTime? d_brithday { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public string? expiryDate { get; set; }

        public int? d_expiryDate { get; set; }


        /// <summary>
        /// 是否取消
        /// </summary>
        public int? isCancel { get; set; }

        /// <summary>
        /// 是否完成
        /// </summary>
        public int? isComplete { get; set; }

        /// <summary>
        /// 是否收货
        /// </summary>
        public int? isReceive { get; set; }

        /// <summary>
        /// 是否时直营订单
        /// </summary>
        public int? isDirectly { get; set; }
        /// <summary>
        /// 是否发货
        /// </summary>
        public int? isSend { get; set; }

        /// <summary>
        /// 是否为活动商品
        /// </summary>
        public int? isPromote { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public double? price { get; set; }

        /// <summary>
        /// 封面
        /// </summary>

        public string? photo { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string? specs { get; set; }

        /// <summary>
        /// 收货时间
        /// </summary>
        public string? sendTime { get; set; }

        public DateTime? d_sendTime { get; set; }

        /// <summary>
        /// 取消时间
        /// </summary>
        public string? cancelTime { get; set; }

        public DateTime? d_cancelTime { get; set; }

        /// <summary>
        /// 订单id
        /// </summary>
        public string? oid { get; set; }

    }

}
